var app = new Vue({
    el: '#email_result',
    data: {
        host:host,
        success: true,
    },
    created: function(){
        axios.put(this.host+'/verify/'+ window.location.search,
            {
            responseType: 'json',
            withCredentials:true,
        })
            .then(response => {
                this.success = true;
            })
            .catch(error => {
                this.success = false;
            });
    }
});